package com.yunfeng.aolin.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.yunfeng.aolin.entity.BOMS;
import com.yunfeng.common.util.Page;

public interface BOMSService {
	BOMS get(Long id);

	void saveOrUpdate(BOMS bOMS);

	void delete(Long id);

	List<BOMS> findAll();

	List<BOMS> findAll(Page page);

	List<BOMS> findByLiaohao(Page page, String liaohao);

	List<BOMS> findByExample(Specification<BOMS> specification, Page page);
}
